package com.qianfeng.smartmeeting.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qianfeng.smartmeeting.dto.BookingCreateDto;
import com.qianfeng.smartmeeting.entity.Booking;
import com.qianfeng.smartmeeting.utils.ResponseResult;
import com.qianfeng.smartmeeting.vo.BookingVo;

import java.util.List;

public interface BookingService extends IService<Booking> {
    
    ResponseResult<?> createBooking(BookingCreateDto bookingCreateDto, Long userId);
    
    ResponseResult<List<BookingVo>> getUserBookings(Long userId);
    
    ResponseResult<?> cancelBooking(Long bookingId, Long userId);
    
    ResponseResult<List<BookingVo>> getRoomBookings(Long roomId);
}